#!user/bin/env python3
# -- coding: utf-8 --
# @Createtime：2022/6/9
# @Updatetime：22:44
# @Author：Test008
# @File：装饰器.py
# @Description：
import logging

# logging配置
logging.basicConfig(level=logging.DEBUG)


def foo():
    logging.info('foo')
    print('foo')


def bar():
    logging.info('bar')
    print('bar')


if __name__ == '__main__':
    foo()
    bar()